package com.shopmall.system.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shopmall.system.entity.Role;
import com.shopmall.system.entity.User;
import com.shopmall.system.entity.UserInfo;


import java.util.List;


public interface UserInfoMapper extends BaseMapper<UserInfo> {
    User loadUserByUsername(String userName);
    List<Role> getUserRolesByUid(Integer id);
}
